package org.misalen.web.database.model.mysql.sys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.misalen.annotations.ModelComment;
import org.misalen.web.database.model.mysql.BaseSqlModel;

/**
 * 资源表
 * 
 * @author guochao
 *
 */
@Entity
@Table(name = "SysRoleResources")
@DynamicInsert(true)
@DynamicUpdate(true)
public class SysRoleResources extends BaseSqlModel {

	@ModelComment("资源id")
	@Column(name = "resourcesId")
	private String resourcesId;

	@ModelComment("角色id")
	@Column(name = "roleId")
	private String roleId;

	public String getResourcesId() {
		return resourcesId;
	}

	public void setResourcesId(String resourcesId) {
		this.resourcesId = resourcesId;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

}
